<?


REQUIRE("../protect/connect_jeu.php");
$query="SELECT ville_id, ville_proprio FROM sdville";
$resultat1=mysql_query($query);



WHILE ($tmp=mysql_fetch_array($resultat1)){


$query="INSERT INTO tmpunites (unite_id, unite_unit_id,
unite_user, unite_sloc, unite_ville, unite_nombre, unite_cout,
 unite_nbr_avancement, unite_avancement, unite_total, unite_txt,
  unite_tribu_occ, unite_batiment) VALUES (NULL, 17, $tmp[1], 'v', $tmp[0], '100', '', 1, 1, 1, '0', 0, 0)";
        echo $query;
   $resultat=mysql_query($query);



}
?>
